import request from "../utils/request";

export function GetSatisfactionList() {
    return request.get("/questionnaire");
}

export function DeleteSatisfaction(id) {
    return request.delete(`/questionnaire/${id}`);
}

export function AddSatisfaction(data) {
    return request .post("/questionnaire",data)
}

export function UpdateSatisfaction(id, data) {
    return request.put(`/questionnaire/${id}`, data)
  }